#pragma once

struct kernel_mapping
{
    unsigned long page_offset;
    unsigned long virt_addr;
    unsigned long virt_offset;
    unsigned long phys_addr;
    unsigned long size;
    /* Offset between linear mapping virtual address and kernel load address */
    unsigned long va_pa_offset;
    /* Offset between kernel mapping virtual address and kernel load address */
    unsigned long va_kernel_pa_offset;
};

extern struct kernel_mapping kernel_map;
